﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

namespace Ccit.OA.MsQuestion
{
    /// <summary>
    /// 问题记录表(qst_a4)
    /// </summary>
    public class MsQuestionRecord
    {
        #region 私有属性
        private string _userid; //用户id
        private string _oid;    //选项id
        private string _qid;    //问卷id
        private string _qmid;   //问题id
        #endregion
        #region 共有属性
      
        /// <summary>
        /// 用户ID
        /// </summary>
        public string userid
        {
            set { _userid = value; }
            get { return ((!string.IsNullOrEmpty(_userid)) ? _userid : ""); }
        }
        /// <summary>
        /// 选项ID
        /// </summary>
        public string oid
        {
            set { _oid = value; }
            get { return ((!string.IsNullOrEmpty(_oid)) ? _oid : ""); }
        }
        /// <summary>
        /// 问卷ID
        /// </summary>
        public string qid
        {
            set { _qid = value; }
            get { return ((!string.IsNullOrEmpty(_qid)) ? _qid : ""); }
        }
        /// <summary>
        /// 问题ID
        /// </summary>
        public string qmid
        {
            set { _qmid = value; }
            get { return ((!string.IsNullOrEmpty(_qmid)) ? _qmid : ""); }
        }

        #endregion
        #region method
        public MsQuestionRecord()
        { }
        public MsQuestionRecord(string sUserId,string sOId,string sQId,string sQmId)
        {
            _userid = sUserId; //用户id
             _oid = sOId;    //选项id
             _qid = sQId;    //问卷id
             _qmid = sQmId;   //问题id
        }
        #endregion
    }
}
